lib: aarch64: fix non-code symbol errors flagged by armlink
authorVarun Wadekar <[email protected]>
Thu, 10 Jan 2019 23:36:44 +0000 (15:36 -0800)
committerVarun Wadekar <[email protected]>
Thu, 7 Feb 2019 16:47:09 +0000 (08:47 -0800)
commitbf52f40e2a7e2e6f3659e6812b4cf3fa10693076
tree2bad49767ac51eefb1e667920fca44f0f416bb5b
parent9c2eda0193a8505e47e6f1671c3c0795d876018e
lib: aarch64: fix non-code symbol errors flagged by armlink

This patch modifies the code to turn __1printf and __2printf into proper
functions to fix the following errors flagged by armlink.

Error: L6318W: backtrace.o(.text.backtrace) contains branch to a non-code symbol __2printf.
Error: L6318W: backtrace.o(.text.backtrace) contains branch to a non-code symbol __2printf.
Error: L6318W: backtrace.o(.text.backtrace) contains branch to a non-code symbol __2printf.
Error: L6318W: backtrace.o(.text.backtrace) contains branch to a non-code symbol __2printf.
Error: L6318W: backtrace.o(.text.backtrace) contains branch to a non-code symbol __2printf.
Error: L6318W: backtrace.o(.text.backtrace) contains branch to a non-code symbol __2printf.

Change-Id: I89126bc2b9db44ce8b8fc9fb1e3fc4c8c60c47a4
Signed-off-by: Varun Wadekar <[email protected]>
lib/aarch64/armclang_printf.S